package com.ssy.lingxi.product.api.model.request.warehouse;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *批量查询商品库存
 */
@Data
public class StockByProductIdsRequest {

    /**
     *商品Id集合
     */
    @NotEmpty(message = "商品Id不能为空")
    private List<Long> productIds;



    /**
     * 商城Id
     */
    @NotNull(message = "商城Id不能为空")
    private Long shopId;

    /**
     * 采购商会员ID
     */
    private Long memberId;

    /**
     * 采购商会员ID
     */
    private Long memberRoleId;
}
